package com.ruoyi.web.shopping.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;


@Data
@ApiModel("商品实体类")
public class Products implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("商品id")
    private String id;

    @ApiModelProperty("商品名称")
    private String name;

    @ApiModelProperty("商品描述")
    private String description;

    @ApiModelProperty("商品删除状态")
    private String isDeleted;

    @ApiModelProperty("创建时间")
    private LocalDateTime createdTime;

    @ApiModelProperty("更新时间")
    private LocalDateTime updatedTime;

    @ApiModelProperty("更新人")
    private String updater;

    @ApiModelProperty("商品类型")
    private String productClass;

    @ApiModelProperty("商品入库日期")
    private LocalDateTime inboundDate;

    @ApiModelProperty("商品数量")
    private long quantity;

    @ApiModelProperty("商品生产日期")
    private LocalDateTime productionDate;

}
